package dataFromXml;

import org.dom4j.Element;

public class Rule {
	
	Element rNode;
	Match matchNode;
	Modify modifyNode;
		
	public Rule(Element self) {
		rNode = self;
		matchNode = null;
		modifyNode = null;
	}
	
	public void setMatchNode(Match son) {
		matchNode = son;
	}
	
	public void setModifyNode(Modify son) {
		modifyNode = son;
	}
	
	public Match getMatchNode() {
		return matchNode;
	}
	
	public Modify getModifyNode() {
		return modifyNode;
	}
	
	public Element getElement() {
		return rNode;
	}
}
